<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>疯狂奖学金</title>
	<link rel="stylesheet" type="text/css" href="css/zui.min.css">
	<link rel="stylesheet" type="text/css" href="css/web-up.css">
	<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
</head>
<body>
<div class="scan-code hidden-xs hidden-sm">
	<!--[if lt IE 9]>
    	<div class="alert alert-danger">您正在使用 <strong>过时的</strong> 浏览器. 是时候 <a href="http://browsehappy.com/">更换一个更好的浏览器</a> 来提升用户体验.</div>
  	<![endif]-->
	<div class="top">
		<div class="container">
			<span>疯狂奖学金</span>
		</div>
	</div>
	<div class="cont">
		<div class="container">
			<div class="download text-center">
				<img src="images/code.png">
				<p>客户端描二维码可进行出题 </p>
				<button><span>下载安卓版客户端</span></button>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	window.onload = function(){
		var H = $(window).height() - $('.top').height();
		var range = H - $('.download').outerHeight();
		console.log(range)
		if(range > 0){
			console.log(range/2)
			$('.download').css('margin-top',range/2+'px');
		}
	}
		
</script>
</body>
</html>